package com.spring.daily.web.model;

import java.util.Date;

public class DailyRecord {
    private String id;

    private String courseClassid;

    private String babyId;

    private String babyName;

    private String babyEnglishName;

    private String teacherId;

    private String teacherName;

    private String teacherComment;

    private Date createdtime;

    private Date changedtime;

    private String initialoperatorid;

    private String initialoperatorname;

    private String operatorid;

    private String operatorname;

    private Integer entityavailablestate;

    private Integer hasread;

    private Date recordDate;
    
    public DailyRecord(){};
    
    public DailyRecord(DailyRecordBase dailyRecordBase){
    	this.courseClassid=dailyRecordBase.getCourseClassid();
    	this.babyId=dailyRecordBase.getBabyid();
    	this.babyName=dailyRecordBase.getBabyName();
    	this.babyEnglishName=dailyRecordBase.getBabyEnglishName();
    	this.teacherId=dailyRecordBase.getTeacherid();
    	this.teacherName=dailyRecordBase.getTeacherName();
    	this.teacherComment=dailyRecordBase.getTeacherComment();
    	this.recordDate= new Date(dailyRecordBase.getRecordDate()*1000);    
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCourseClassid() {
        return courseClassid;
    }

    public void setCourseClassid(String courseClassid) {
        this.courseClassid = courseClassid == null ? null : courseClassid.trim();
    }

    public String getBabyId() {
        return babyId;
    }

    public void setBabyId(String babyId) {
        this.babyId = babyId == null ? null : babyId.trim();
    }

    public String getBabyName() {
        return babyName;
    }

    public void setBabyName(String babyName) {
        this.babyName = babyName == null ? null : babyName.trim();
    }

    public String getBabyEnglishName() {
        return babyEnglishName;
    }

    public void setBabyEnglishName(String babyEnglishName) {
        this.babyEnglishName = babyEnglishName == null ? null : babyEnglishName.trim();
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId == null ? null : teacherId.trim();
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName == null ? null : teacherName.trim();
    }

    public String getTeacherComment() {
        return teacherComment;
    }

    public void setTeacherComment(String teacherComment) {
        this.teacherComment = teacherComment == null ? null : teacherComment.trim();
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getChangedtime() {
        return changedtime;
    }

    public void setChangedtime(Date changedtime) {
        this.changedtime = changedtime;
    }

    public String getInitialoperatorid() {
        return initialoperatorid;
    }

    public void setInitialoperatorid(String initialoperatorid) {
        this.initialoperatorid = initialoperatorid == null ? null : initialoperatorid.trim();
    }

    public String getInitialoperatorname() {
        return initialoperatorname;
    }

    public void setInitialoperatorname(String initialoperatorname) {
        this.initialoperatorname = initialoperatorname == null ? null : initialoperatorname.trim();
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid == null ? null : operatorid.trim();
    }

    public String getOperatorname() {
        return operatorname;
    }

    public void setOperatorname(String operatorname) {
        this.operatorname = operatorname == null ? null : operatorname.trim();
    }

    public Integer getEntityavailablestate() {
        return entityavailablestate;
    }

    public void setEntityavailablestate(Integer entityavailablestate) {
        this.entityavailablestate = entityavailablestate;
    }

    public Integer getHasread() {
        return hasread;
    }

    public void setHasread(Integer hasread) {
        this.hasread = hasread;
    }

    public Date getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }
}